const app = getApp();
Page({
  data: {
    name: '',
    phoneNumber: '',
    identityCard :''
  },
  changephone:function(){
    wx.navigateTo({
      url: './changephone/changephone?from=info',
    })
  },
  onShow:function(){
    // 用户信息
    const _this = this;
    let baseInfo = app.globalData.baseInfo;
    _this.setData({
      name: baseInfo.name,
      phoneNumber: baseInfo.phoneNumber,
      identityCard: baseInfo.identityCard
    })
  }
})